package com.fastCms.business.bim.manage;

import com.fastCms.business.bim.pojo.entity.DeviceType;
import com.fastCms.business.bim.pojo.po.*;
import com.fastCms.business.bim.pojo.vo.*;
import com.fastCms.business.frame.pojo.PageParam;
import com.fastCms.business.frame.response.ApiResponse;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DeviceManageService {

    List<DeviceType> getDeviceTypes();

    Boolean deleteDevice(Integer deviceId);

    DeviceInfoVO deviceInfo(Integer deviceId);

    ApiResponse<Boolean> addDevice(DeviceAddPO deviceAddPO);

    ApiResponse<Boolean> updateDevice(DeviceUpdatePO deviceUpdatePO);

    List<AirVO> getAirValue();

    PageInfo<DeviceInfoVO> deviceList(PageParam<DeviceListPO> pageParam);

    List<DeviceFiledsVO> getDeviceFields(Integer deviceTypeId);

    List<ListenDataDetailVO> getListenDetailList(String busiType);

    AirRankVO airRank();

    PageInfo<TspRankVO> tspRank(PageParam pageParam);


    ListenDeviceNumVO listenDeviceNum();

    PageInfo<DeviceVO> listenDeviceList(PageParam<DeviceParamPO> param);

    PageInfo<TspBillVO> tspBill(PageParam<DateListenDeviceParamPO> pageParam);

    Integer tspCount();

    PageInfo<AirBillVO> airBill(PageParam<AirPO> pageParam);

    List<ChartVO> getChart(ChartPO chartPO);
}
